package com.purchase.service;

import com.purchase.util.RequestForm;
import com.purchase.util.ResponseForm;

import javax.servlet.http.HttpServletRequest;

public interface PayService {

    /**
     * 统一下单
     *
     * @param param
     * @return
     */
    ResponseForm doUnifiedOrder(RequestForm param);

    /**
     * 接收微信支付结果通知
     *
     * @param param
     * @return
     */
    String payNotify(HttpServletRequest param);

    /**
     * 查询订单
     *
     * @param param
     * @return
     */
    ResponseForm orderQuery(RequestForm param);
}
